package com.boot.security.server.user.model;

import com.boot.security.server.model.BaseEntity;
import lombok.Data;

import java.util.List;

/**
 * 用户
 * @author king
 */
@Data
public class SysUsers extends BaseEntity<Long> {
    private static final long serialVersionUID = - 6525908145032868837L;
    private String username;
    private String password;
    private String mwPassword;
    private String nickname;
    private String ul;
    private String email;
    private Integer status;
    private String intro;
    private String branch;
    private String oa;
    private List<String> branchs;

    /**
     * 对应审核人id
     */
    private Integer userId;

    public interface Status {
        int DISABLED = 0;
        int VALID = 1;
        int LOCKED = 2;
    }

    /** 临时参数 */
    private String url;
}
